package com.car.file;

import java.util.Date;

public class UserInfoBean {
	/* name_en, name_zh, dept, gs_tel, gs_email, zhiwei, intime, wangwang, qq, msn, cy_email, remark, active_no, updateTime**/
	String id;
	String realName;// 真实姓名
	String nickName;//
	String no;// 工号
	String dept;
	String gs_tel;
	String m_tel;
	String gs_email;
	String zhiwei;// 职位
	String wangwang;// 旺旺
	String homepage;// 主页
	String inTime;//入职时间
	String leader;//主管
	String name_en;
	String qq;
	String msn;
	
	String cy_email;
	String remark;
	int active_no;//求职位意向 0 即时 1 一周以内    2一个月以内  3. 1-3个月，4 三个月以后，5 待定  6.没有联系
	Date updateTime;
                                
	public String toString() {
		return "id="+id+"|"+this.gs_tel + "companyTel|" + this.dept + "dept|"
				+ this.gs_email + "email|" + this.homepage + "homepage|"
				+ this.m_tel + "mtel|" + this.nickName + "nickname|" + this.no
				+ "no|" + this.realName + "realname|" + this.wangwang
				+ "wangwang|" + this.zhiwei+"zhiwei|";
	}
    public String getActiveNoString(){
    	//求职位意向 0 即时 1 一周以内    2一个月以内  3. 1-3个月，4 三个月以后，5 待定  6.没有联系
    	switch(active_no){
    	case 0:
    	return "即时";
    	case 1:
        	return "1周";
    	case 2:
        	return "1月";
    	case 3:
        	return "1-3月";
    	case 4:
        	return "待定";
    	case 9:
        	return "NO CALL";
    	}
    	return "NO CALL";
    }
	public String getRealName() {
		if(realName!=null){
			realName=realName.trim();
		}
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getNickName() {
		if(nickName!=null){
			nickName=nickName.trim();
		}
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getNo() {
		if(no!=null){
			no=no.trim();
		}
		return no;
	}

	public void setNo(String no) {
		this.no = no;
	}

	public String getDept() {
		if(dept!=null){
			dept=dept.trim();
		}
		return dept;
	}

	public void setDept(String dept) {
		this.dept = dept;
	}

	public String getGs_tel() {
		if(gs_tel!=null){
			gs_tel=gs_tel.trim();
		}
		return gs_tel;
	}

	public void setGs_tel(String gs_tel) {
		this.gs_tel = gs_tel;
	}

	public String getM_tel() {
		if(m_tel!=null){
			m_tel=m_tel.trim();
		}
		return m_tel;
	}

	public void setM_tel(String m_tel) {
		this.m_tel = m_tel;
	}

	public String getGs_email() {
		if(gs_email!=null){
			gs_email=gs_email.trim();
		}
		return gs_email;
	}

	public void setGs_email(String gs_email) {
		this.gs_email = gs_email;
	}

	public String getZhiwei() {
		if(zhiwei!=null){
			zhiwei=zhiwei.trim();
		}
		return zhiwei;
	}

	public void setZhiwei(String zhiwei) {
		this.zhiwei = zhiwei;
	}

	public String getWangwang() {
		if(wangwang!=null){
			wangwang=wangwang.trim();
		}
		return wangwang;
	}

	public void setWangwang(String wangwang) {
		this.wangwang = wangwang;
	}

	public String getHomepage() {
		return homepage;
	}

	public void setHomepage(String homepage) {
		this.homepage = homepage;
	}

	public String getInTime() {
		if(inTime!=null){
			inTime=inTime.trim();
		}
		return inTime;
	}

	public void setInTime(String inTime) {
		this.inTime = inTime;
	}

	public String getLeader() {
		if(leader!=null){
			leader=leader.trim();
		}
		return leader;
	}

	public void setLeader(String leader) {
		this.leader = leader;
	}

	public String getName_en() {
		if(name_en!=null){
			name_en=name_en.trim();
		}
		return name_en;
	}

	public void setName_en(String name_en) {
		this.name_en = name_en;
	}

	public String getQq() {
		if(qq!=null)
			qq=qq.trim();
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getCy_email() {
		if(cy_email!=null)
		cy_email=cy_email.trim();
		return cy_email;
	}

	public void setCy_email(String cy_email) {
		this.cy_email = cy_email;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
 

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public int getActive_no() {
		return active_no;
	}
	public void setActive_no(int active_no) {
		this.active_no = active_no;
	}
	public String getMsn() {
		if(msn!=null)msn=msn.trim();
		return msn;
	}
	public void setMsn(String msn) {
		this.msn = msn;
	}
    }
